// MaterialPurchaseApplication.java
package org.example.managementsystem.model;

import lombok.Data;

import java.util.Date;

@Data
public class MaterialPurchaseApplication {
    private Integer purchaseId;
    private String materialName;
    private MaterialType materialType;
    private String providerName;
    private String factoryAddress;
    private Date storageDate;
    private String specification;
    private String contactPerson;
    private String contactPhone;
    private String materialDesc;
    private Integer purchaseQuantity;
    private String applicantJobNumber;
    private String purchaseDesc;
    private Boolean isApproved;

    public enum MaterialType {
        METAL, ALLOY, COMPOSITE, OTHER
    }
}